:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --light-bg: #f8fafc;
    --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body {
    background: linear-gradient(135deg, var(--light-bg), #e2e8f0);
    min-height: 100vh;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo img {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
}

.login-logo h3 {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 5px;
}

.login-logo p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.form-group label {
    font-weight: 500;
    color: #334155;
    margin-bottom: 8px;
}

.form-control {
    height: 50px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding-left: 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
    color: #94a3b8;
}

.input-icon input {
    padding-left: 45px;
}

.btn-login {
    height: 50px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border: none;
    width: 100%;
    transition: all 0.3s;
}

.btn-login:hover, .btn-login:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.alert {
    border-radius: 8px;
    border-left: 4px solid #ef4444;
}

.brand-text {
    font-size: 0.85rem;
    text-align: center;
    margin-top: 25px;
    color: #64748b;
}

/* Animation effect for alert */
.alert-fade {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}